package cn.com.bluemoon.daps.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author karry
 * @Data 2021/7/27
 * @Time:16:11
 */
@Data
public class DapModelHistoryDto {

    @ApiModelProperty("表id")
    private String tableId;

    @ApiModelProperty("变更单号")
    private String changeOrder;

    @ApiModelProperty("表英文名")
    private String tableEngName;

    @ApiModelProperty("表中文名")
    private String tableChinName;

    @ApiModelProperty("1-3 新增表、删除表、修改表")
    private Integer changeType;

    @ApiModelProperty("申请发布人")
    private String applicationBy;

    @ApiModelProperty("发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime publicTime;

    @ApiModelProperty("记录id")
    private String recordId;

}
